/* 通用样式 Start */
body {
    position: relative;
}
.clearfloat::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    visibility: hidden;
    clear: both;
}
.floatPanel * {
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: PingFang SC, Hiragino Sans GB, Microsoft YaHei, Helvetica Neue, Helvetica, Noto Sans CJK SC, WenQuanYi Micro Hei, Arial, sans-serif;
    box-sizing: border-box;
}
.floatPanel a {
    text-decoration: none;
}
.floatPanel input {
    outline: none;
}
/* 通用样式 End */

/* 遮罩 */
.floatPanel-backdrop {
    background-color: rgba(26, 26, 26, .65);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 998;
    overflow-x:hidden;
    overflow-y:auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-box-pack: center;
    transition: opacity .3s ease-out, background-color .3s ease-out;
    -ms-transition: opacity .3s ease-out, background-color .3s ease-out;
}

/*floatPanel样式*/
.floatPanel{
    display: none;
    position:absolute;
    top: 100px;
    left: 100px;
    z-index:999;
    width: 300px;
    height: auto;
    /* transition: all .3s;
    -ms-transition: all .3s;
    -webkit-transition: all .3s; */
    transition: opacity .5s;
    -ms-transition: opacity .5s;
}
.floatPanel.active{
    display: block;
}
.floatPanel::before{
    content:" ";
    display: table;
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
    background: none;
    background-color: transparent;
    visibility: hidden;
}
/* .floatPanel::after{
    content:"";
    display:block;
    width: 100%;
    height: 5px;
    padding: 0;
    margin: 0;
    visibility: hidden;
    background: none;
    background-color: transparent;
    clear:both;
} */
.floatPanel .hide{
    display:none;
}
.floatPanel.invisible{
    opacity:0;
}
.floatPanel-space{
    display:block;
    width: 100%;
    height: 0px;
    padding:0;
    margin: 0;
    outline:none;
    border:none;
    background: none;
    background-color: transparent;
}


/*panel主样式*/
.floatPanel .panel {
    margin-bottom: 0;
    /* background-color: #fff; */
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    height:auto;
    width: 100%;
}
.floatPanel .panel-header {
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    box-shadow: 0px 2px 2px 1px rgba(0, 0, 0, .1);
}
.floatPanel .panel-title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 16px;
    color: #fff;
    overflow:hidden;
}
.floatPanel .panel-body {
    padding: 15px;
    color:#666;
    overflow:hidden;
    background-color: #fff;
}
.floatPanel .panel-body::after,
.floatPanel .panel-body::before,
    {
    display: table;
    content: " ";
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
    background: none;
    background-color: transparent;
    visibility: hidden;
}
.floatPanel .panel-footer {
    padding: 10px 15px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    color:#999;
    overflow:hidden;
}

/*closeBtn*/
.floatPanel .Button {
    display: inline-block;
    padding: 0 16px;
    font-size: 14px;
    line-height: 32px;
    color: #8590a6;
    text-align: center;
    cursor: pointer;
    background: none;
    border: 1px solid;
    border-radius: 3px;
    outline:none;
}
.floatPanel .Button-plain {
    height: auto;
    padding: 5px;
    line-height: inherit;
    background-color: transparent;
    border: none;
    border-radius: 0;
}
.floatPanel .close-button {
    position: absolute;
    top: 5px;
    right: 5px;
}
.floatPanel .closeIcon {
    vertical-align: middle;
    fill: #ddd;
}
.floatPanel .closeIcon:hover {
    fill: #fff;
}


/*panel情景样式*/
.floatPanel .panel-blue {
    border-color: #337ab7;
}
.floatPanel .panel-blue>.panel-header {
    color: #fff;
    background-color: #337ab7;
    border-color: #337ab7;
    background-image:linear-gradient(45deg, 
        rgba(0, 0, 0, 0.15) 35%, 
        transparent 35%, transparent);
    /* background-size:80px 80px; */
}

.floatPanel .panel-dark {
    border-color: rgba(20, 103, 180, .8);
    background-color: rgba(0, 0, 0, .65);
    border: 1px solid rgb(67, 217, 255);
    box-shadow: 0px 0px 2px 1px rgba(255, 255, 255, .25);
}
.floatPanel .panel-dark>.panel-header {
    color: #66fff2;
    font-size:16px;
    letter-spacing: 2px;
    font-weight:bold;
    background-color: rgba(33, 120, 146, 0.8);
    border-color: #337ab7;
    background-image: linear-gradient(45deg,
    rgba(0, 0, 0, 0.15) 35%,
    transparent 35%, transparent);
    /* background-size:80px 80px; */
    border-bottom: 1px solid rgba(74, 234, 255, 0.5);
    padding: 10px;
}
.floatPanel .panel-dark>.panel-header>.panel-title {
  color: #5bfff7;
}
.floatPanel .panel-dark>.panel-body {
    background-color: rgba(32, 60, 76, 0.5);
    color: #fff;
    padding: 10px;
}
.floatPanel .panel-dark>.panel-footer {
    background-color: rgba(32, 60, 76, 0.5);
    color: #fff;
    padding: 10px;
}

